Notes on solving and playing peg solitaire on a computer
نویسنده
چکیده
We consider the one-person game of peg solitaire played on a computer. Two popular board shapes are the 33-hole cross-shaped board, and the 15-hole triangular board—we use them as examples throughout. The basic game begins from a full board with one peg missing and finishes at a board position with one peg. First, we discuss ways to solve the basic game on a computer. Then we consider the problem of quickly distinguishing boards positions that can be reduced to one peg (“winning” board positions) from those that cannot be solved to one peg (“losing” board positions). This enables a computer to alert the player if a jump under consideration leads to a dead end. On the 15-hole triangular board, it is possible to identify all winning board positions (from any single vacancy start) by storing a key set of 437 board positions. For the “central game” on the 33-hole cross-shaped board, we can identify all winning board positions by storing 839,536 board positions.
منابع مشابه
Integer Programming Based Algorithms for Peg Solitaire Problems
Peg solitaire is a one player game using pegs and a board with some holes. The game is classical, and nowadays sold in many parts of the world under the trade name of Hi-Q. In this paper, we dealt with the peg solitaire problem as an integer programming problem. We proposed algorithms based on the backtrack search method and relaxation methods for integer programming problem. The algorithms fir...
متن کاملOne-Dimensional Peg Solitaire
We solve the problem of one-dimensional peg solitaire. In particular, we show that the set of configurations that can be reduced to a single peg forms a regular language, and that a linear-time algorithm exists for playing the game.
متن کاملSolving Triangular Peg Solitaire
We consider the one-person game of peg solitaire on a triangular board of arbitrary size. The basic game begins from a full board with one peg missing and finishes with one peg at a specified board location. We develop necessary and sufficient conditions for this game to be solvable. For all solvable problems, we give an explicit solution algorithm. On the 15-hole board, we compare three simple...
متن کاملA ug 2 00 7 SOLVING TRIANGULAR PEG SOLITAIRE
We consider the one-person game of peg solitaire on a triangular board of arbitrary size. The basic game begins from a full board with one peg missing and finishes with one peg at a specified board location. We develop necessary and sufficient conditions for this game to be solvable. For all solvable problems, we give an explicit solution algorithm. On the 15-hole board, we compare three simple...
متن کامل2 5 Ju n 20 07 SOLVING TRIANGULAR PEG SOLITAIRE
We consider the one-person game of peg solitaire on a triangular board of arbitrary size. The basic game begins from a full board with one peg missing and finishes with one peg at a specified board location. We develop necessary and sufficient conditions for this game to be solvable. For all solvable problems, we give an explicit solution algorithm. On the 15-hole board, we compare three simple...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
- CoRR
دوره abs/0903.3696 شماره
صفحات -
تاریخ انتشار 2009